<template>
	<view>
		<view class="wrong_title">
			<view>单选题</view>
			<view>1/9</view>
		</view>
		<view>
			<swiper :indicator-dots="false" :autoplay="false"  :duration="1000">
				<swiper-item>
					<view class="swiper-item">
						<view>
							<view>1.这是一个题目:</view>
							<view>删除</view>
						</view>
						<view>
							<text>A.1</text>
							<text>B.2</text>
							<text>C.3</text>
							<text>D.4</text>
						</view>
					</view>
				</swiper-item>
				<swiper-item>
					<view class="swiper-item"></view>
				</swiper-item>
			</swiper>
		</view>
		<u-gap height="20" bg-color="#f2f2f2"></u-gap>
		<view class="bottom_btn">
			<view>上一道</view>
			<view>下一道</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.wrong_title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20rpx 40rpx;
	background: #ccc8fa;
	>view{
		&:nth-child(1){
			font-size: 35rpx;
			color: #FFFFFF;
		}
		&:nth-child(2){
			font-size: 30rpx;
		}
	}
}
.swiper-item{
	>view{
		&:nth-child(1){
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 30rpx 20rpx;
			>view{
				&:nth-child(1){
					font-size: 30rpx;
				}
				&:nth-child(2){
					font-size: 35rpx;
					color: #ff5555;
				}
			}
		}
		&:nth-child(2){
			padding: 20rpx;
			display: flex;
			flex-flow: column;
			font-size: 30rpx;
		}
	}	
}
.bottom_btn{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20rpx;
	>view{
		padding: 10rpx 50rpx;
		font-size: 30rpx;
		border: 1rpx solid #969696;
		border-radius: 10rpx;
		&:nth-child(2){
			color: #fff;
			background: #ccc8fa;
		}
	}
}
</style>
